
#ifndef _APP_LCD_H
#define _APP_LCD_H

#ifdef __cplusplus
extern "C" {
#endif

extern const unsigned char batter[][44];

#define MAX_COLUMN 128
#define MAX_ROW 64
#define GBCHAR1212BASE     (0x00000)

void app_lcd_init(void);
void app_lcd_refresh_gram(void);
void app_lcd_drawpoint(uint8_t x, uint8_t y, uint8_t t);
void app_lcd_showchar(uint8_t x, uint8_t y, uint8_t chr, uint8_t size, uint8_t mode);
void app_lcd_showstring(uint8_t x, uint8_t y, const uint8_t *p, uint8_t size, uint8_t mode);
void app_lcd_clear();
void app_lcd_setbllevel(uint8_t level);
void app_lcd_getgbkcodefromflash(uint8_t *pBuffer, uint16_t c, uint8_t size);
void app_lcd_dispchar_ch(uint8_t usX, uint8_t usY, uint16_t fontnum, uint8_t size, uint8_t mode);
void app_lcd_dispchar_en(uint8_t usX, uint8_t usY, uint8_t usChar, uint8_t size, uint8_t mode);
void app_lcd_dispchar_str(uint8_t usX, uint8_t usY, const uint8_t *pStr, uint8_t size, uint8_t mode);
void app_lcd_showpicture(uint8_t x, uint8_t y, const uint8_t *p, uint8_t p_w, uint8_t p_h);
void app_lcd_fillpoint(void);
void app_lcd_drawfill(uint8_t x, uint8_t y, uint8_t h, uint8_t w);
void app_lcd_drawbatter(uint8_t x, uint8_t y, uint8_t level);
void app_lcd_drawprogbar(uint8_t x, uint8_t y, uint8_t h, uint8_t w,uint8_t value);
void app_lcd_clearwindows(uint8_t x, uint8_t y, uint8_t h, uint8_t w);
#ifdef __cplusplus
}
#endif

#endif /* __ZB32L03x_STARTERKIT_H */


